-- GENERATED SPELL FOR [Ruuan Weald Basilisk] --


function spell0_20987(pUnit, Event) --@Threshalisk Charge,n/a--
pUnit:FullCastSpellOnTarget(35385,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_20987', 558, 1)
end

function Sorts_20987(pUnit, Event)
local choix_sorts_20987 = math.random(0, 0)
if choix_sorts_20987 == 0 then
pUnit:RegisterEvent('spell0_20987', 1, 1)
end
end

function mob20987_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_20987', math.random(1500, 3000), 1)
end

function mob20987_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob20987_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob20987_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(20987, 1, 'mob20987_Action')
RegisterUnitEvent(20987, 2, 'mob20987_Leave')
RegisterUnitEvent(20987, 3, 'mob20987_Kill')
RegisterUnitEvent(20987, 4, 'mob20987_Die')
